<?php

namespace common\models\datas;

use Yii;

/**
 * This is the model class for table "{{%student_scholarship}}".
 *
 * @property integer $student_id
 * @property string $scholarship
 * @property string $deposit
 */
class StudentScholarship extends \common\components\bases\BaseModel
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%student_scholarship}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['student_id'], 'integer'],
            [['scholarship', 'deposit'], 'number'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'student_id' => Yii::t('zhtfrontend', '学员id'),
            'scholarship' => Yii::t('zhtfrontend', '奖学金'),
            'deposit' => Yii::t('zhtfrontend', '保证金金额'),
        ];
    }
}
